package com.tjetc.dao;

import com.tjetc.domain.Photo;

import java.sql.SQLException;
import java.util.List;

public interface PhotoDao {
    void add(Photo photo) throws SQLException;

    List<Photo> findByMid(int id) throws SQLException;


    void delByMid(int id) throws SQLException;
}
